home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / dcamplot.zip / CAMPLOT.DOC < prev    next >
Text File  |  1991-06-25  |  91KB  |  2,184 lines

  1.  
  2. [                 D A N P L O T   A N D   D A N C A M                ]   
  3.  
  4.  
  5.                           DOCUMENTATION FILE
  6.  
  7.                               CAMPLOT.DOC
  8.  
  9.                                   FOR
  10.  
  11.                  DANPLOT.COM v2.5 AND DANCAM.COM v2.5
  12.  
  13.                            THE TWO COMPANION
  14.  
  15.                  COMPUTER AIDED MANUFACTURING PROGRAMS
  16.  
  17.                       FOR USE WITH DANCAD3D v2.5
  18.  
  19.  
  20.   Copyright (c) 1989-1991 by Daniel H. Hudgins, All rights reserved.
  21.  
  22.  Daniel H. Hudgins, 466 Diamond Street, San Francisco, CA 94114, USA
  23.  
  24.     SEE ALSO THE FILE DANCAD3D.DOC ON THE  DANCAD3D  SHAREWARE  DISKS.
  25. USE  THE PROGRAM PRINTDOC.EXE ON THE DANCAD3D SHAREWARE DISKS TO PRINT
  26. OUT THIS FILE IN ORDER TO HAVE THE PRINT CENTERED PROPERLY.
  27.  
  28.     You may not copy this DANCAM/DANPLOT disk, this documentation file
  29. or  printed  copies  of  this documentation file (other that to make a
  30. working copy for your own  personal  use)  without  obtaining  express
  31. written  permission  form  the  author  of this disk,  i.e.  Daniel H.
  32. Hudgins.  Under no conditions is this DANCAM/DANPLOT disk to  be  sold
  33. for more than $10.  None of the files of the DANCAM & DANPLOT disk may
  34. be altered, modified, deleted, or translated on copies of the DANCAM &
  35. DANPLOT  disk that are to be sold,  shared,  or loaned without express
  36. written permission from Daniel Hudgins.
  37.  
  38.     The  latest  version  of DANCAM and DANPLOT come with the disk set
  39. and manuals that are included with the DANCAD3D v2.5 user outfit.  The
  40. DANCAD3D user order form is accessed from the opening menu that  comes
  41. up  when  DANCAD3D v2.5 is run from DOS.  Additional documentation and
  42. schematics for use with DANCAM  and  DANPLOT  are  supplied  with  the
  43. DANCAD3D user outfit.
  44.  
  45.     Please read all disclaimers and all warnings,  notices, and danger
  46. statements before You use DANCAM or DANPLOT.  Since DANCAM and DANPLOT
  47. control motors,  and other electro-mechanical  hardware,  the  use  of
  48. DANCAM  or  DANPLOT can cause serious or fatal personal injury.  It is
  49. assumed that the user of DANCAM and DANPLOT  understands  the  dangers
  50. involved  with  working with power driven machinery,  and high voltage
  51. circuitry,  and will take any and all safety precautions necessary  to
  52. protect  himself  and others from injury.  Although DANCAM and DANPLOT
  53. are being used successfully,  DANCAM  and  DANPLOT  may  not  function
  54. properly  at  all  times and are provided AS IS for you to USE ONLY AT
  55. YOUR OWN RISK.
  56.  
  57.  
  58.  
  59.                                   [1]     
  60.  
  61. [           D I S C L A I M E R   A N D   W A R N I N G              ]   
  62.  
  63.  
  64.  
  65.                                DISCLAIMER
  66.  
  67.     Please remember that DANCAM can DANPLOT are sold AS IS, please use
  68. them ONLY AT YOUR OWN RISK.  Daniel H. Hudgins will not be responsible
  69. or liable for any loss,  damage,  or injury of any kind.  Please  read
  70. the  disclaimer that is in the DANCAD3D manual since it covers DANPLOT
  71. and DANCAM as well.  Also read the disclaimer in the file DANCAD3D.DOC
  72. on the DANCAD3D shareware disks,  as well as this disclaimer  and  the
  73. warning below.
  74.  
  75.     This  documentation  for DANCAM and DANPLOT may contain errors and
  76. or  omissions.  Under  no  circumstances  or  conditions  will  Daniel
  77. Hudgins be held accountable for any errors or omissions.
  78.  
  79.     This  documentation  includes suggested connections for hooking up
  80. devices to your computer's parallel port.  Daniel Hudgins will not and
  81. shall not be held accountable or liable for any loss  or  damage  that
  82. might   occur   to  your  computer  to  other  devices.   It  is  your
  83. responsibility  to  check  and  verify  all  the  appropriateness   of
  84. connections  to  your computer before turning on the power.  Verifying
  85. the appropriateness  of  connections  may  require  you  to  read  and
  86. understand more information than this DANCAM and DANPLOT documentation
  87. contains.
  88.  
  89.     Under  no  circumstances  are  DANCAM  or  DANPLOT  to  be used in
  90. equipment that is  used  for  medical  purposes.  DANCAM  and  DANPLOT
  91. should  not be used in equipment that could cause injury to persons or
  92. loss of property if  the  equipment  or  software  failed  to  operate
  93. properly.
  94.  
  95.     The  use  of  DANCAM  or  DANPLOT  is disallowed if any laws might
  96. require Daniel Hudgins to be in any way responsible or liable for  any
  97. loss  or  injury.  DANCAM  and  DANPLOT  may  not satisfy occupational
  98. safety laws in your state or country.
  99.  
  100.     No license to third parties is expressed or implied.  No violation
  101. of copyrights or patents held by  third  parties  is  implied  by  the
  102. suggested  use  and connection of DANCAM and DANPLOT.  The user should
  103. confirm that no copyrights or patents will be violated by his  use  of
  104. DANCAM or DANPLOT.
  105.  
  106.     The  use  of  DANCAM  or  DANPLOT indicates full acceptance of all
  107. disclaimers and an understanding that DANCAM and DANPLOT are  only  to
  108. be used at the users OWN RISK.
  109.  
  110.     In  this documentation the what is said about using stepper motors
  111. will also generally apply to servo motors and any other type of motors
  112. that might be used.  It is a fact that any component can and should be
  113. expected to fail,  therefore your safety depends on your not  relaying
  114. of any particular component to protect you from harm.  To improve your
  115. safety  from  harm  use  several stages of protection,  so that if any
  116. single safety measure fails you have several others to back the failed
  117.  
  118.                                   [2]     
  119.  
  120. [           D I S C L A I M E R   A N D   W A R N I N G              ]   
  121.  
  122.  
  123. one up.  Always be more careful than you think you need to be!
  124.  
  125.  
  126.                                 WARNING
  127.  
  128.     Power driven and or automated equipment can cause  serious  injury
  129. or even death.  You must take serious efforts to protect yourself  and
  130. anyone  else  near  such  equipment.  Do not place your hands or other
  131. body parts near power driven equipment without first disconnecting the
  132. power to the stepper motors (or other type of motors) in  such  a  way
  133. that  the  motors  and  tool  cannot  harm you or others.  DANPLOT and
  134. DANCAM are only to be used  by  people  that  understand  the  dangers
  135. involved  and  have  been trained in the necessary safety precautions.
  136. Be  aware  that  failure  of  electrical   connections   or   computer
  137. hardware/software   related   faults   can   cause   motors  to  start
  138. unexpectedly.  To help avoid injury caused by unexpected motor  starts
  139. you  should  disconnect  the  motor  power at both the AC input of the
  140. motor power supply and the DC output of the motor power supply  before
  141. you  expose  yourself  or  others to the equipment.  Evaluation of the
  142. completeness  of   any   safety   measures   is   the   users   (your)
  143. responsibility.
  144.  
  145.     DO  NOT  USE any TSR program that puts a clock on the screen while
  146. the  DANCAM  or  DANPLOT  programs  are  in  use!   Do  not  use   any
  147. multitasking,  or  print spooling programs while DANCAM or DANPLOT are
  148. in use!  Such programs interfere with the  computers  CPU  timing  and
  149. therefore make the motors not run smoothly.  Do not use the DOS screen
  150. dump  command,  e.g.  [Shift]  and  [PrtSc],  while  running DANCAM or
  151. DANPLOT since the parallel port is not connected to a printer and  the
  152. motors or auxiliary relays may be accidentally turned on (the computer
  153. may  also  lock  up since the screen print command will not be getting
  154. the correct printer messages!)
  155.  
  156.     If the computer re-boots because of a power failure,  your turning
  157. the computer off,  your pressing [Ctrl] & [Alt] & [Del],  or any other
  158. reason the voltage on the output pins of the parallel port may  change
  159. and   activate   the  auxiliary  relays  and  other  equipment  in  an
  160. inappropriate and possible harmful manner.  You should investigate the
  161. default state of the parallel port pins after  a  computer  reboot  to
  162. determine  if  you have the high/low state for the output optimized to
  163. minimize any hazard.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.                                   [3]     
  178.  
  179. [                         A B S T R A C T                            ]   
  180.  
  181.  
  182.  
  183.                                ABSTRACT
  184.  
  185.     DANCAM and DANPLOT are two utility programs that you  can  use  to
  186. automatically  manufacture  parts.  DANCAM and DANPLOT run on your IBM
  187. (tm) compatible personal computer  and  use  your  personal  computers
  188. parallel  port to send motion control signals to almost any TTL signal
  189. compatible steeper motor translator/driver module,  as well  as  using
  190. the  parallel  port  to  drive all the necessary control relays and to
  191. read all of the necessary home, limit and pause switches.  If you have
  192. a desire to use servo motors in preference to stepper motors, a set of
  193. plans for a special closed loop servo  motor  driver  compatible  with
  194. DANCAM  v2.52 and DANPLOT v2.52 is included in the DANCAD3D v2.5H user
  195. outfit, write to Daniel Hudgins for full information and pricing.
  196.  
  197.     Specifically DANCAM and DANPLOT are designed to read drawing files
  198. made with DANCAD3D.COM v2.5 and control  stepper  motors  movement  in
  199. such a way as to follow the lines drawn with DANCAD3D.  You can attach
  200. stepper motors to almost any 2 or 3 axis machine tool or plotting type
  201. device's hand wheel (crank, knob) shafts to automate it.  Additionally
  202. DANPLOT  can be used to drive 4 axis devices where the forth axis (the
  203. "C" axis) keeps the cutting edge of a saber saw or knife blade pointed
  204. into the direction of the tool motion.
  205.  
  206.     DANCAM and DANPLOT offer  very  high  possitional  accuracy  (when
  207. properly  installed)  and  can be used for applications requiring fine
  208. accuracy to points spaced large distances (the actual accuracy of  the
  209. cutting  tool  location  depends  on the quality of the device you are
  210. automating,  e.g.  flexing in the tool post and play in the ways  will
  211. cause  the  tool to be slightly misplaced,  if the error is repeatable
  212. you can adjust the tool path file with DANCAD3D to compensate for  the
  213. errors.)
  214.  
  215.     Because  DANCAM  and  DANPLOT  are  general purpose Computer Aided
  216. Manufacturing programs you can use them to automate most if not all of
  217. the types of machine  tools  you  use.  Additionally  because  of  the
  218. extreme  low  cost  and high repeatable accuracy of DANCAM and DANPLOT
  219. you may become interested in automating tasks that are currently  done
  220. with manual hand labor.
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.                                   [4]     
  237.  
  238. [    O V E R V I E W   O F   D A N C A M   A N D   D A N P L O T     ]   
  239.  
  240.  
  241.  
  242.                    ABOUT THE DANCAM AND DANPLOT DISK
  243.  
  244.     The  DANCAM  and  DANPLOT  disk has several example files on it in
  245. addition to the program files.  Please read the file FILES.DOC  for  a
  246. description  of  the  files  on  this  disk.  Before  you  can use the
  247. programs DANCAM or DANPLOT you will need to make a copy of this floppy
  248. disk and then delete the *.DOC files on your disk working copy.
  249.  
  250. EXAMPLE: C>COPY A:*.* B:
  251.          C>DELETE B:*.DOC
  252.  
  253.     The need to delete the *.DOC files is to make room for DANCAM  and
  254. DANPLOT  to  save  their  configuration  files  i.e.   DANCAM.CFG  and
  255. DANPLOT.CFG.  When you copy the configured versions  of  the  programs
  256. remember to copy the *.CFG file along with the *.COM files.
  257.  
  258.     If  you  want  to use DANCAM and DANPLOT from a harddisk just copy
  259. them into an appropriate subdirectory, i.e. if DANCAD3D v2.5 is on the
  260. harddisk just copy all the files into DANCAD3D subdirectory DC25.
  261.  
  262. EXAMPLE: C>COPY A:*.* C:\DC25\*.*
  263.  
  264.     To print out this documentation file use the program  PRINTDOC.EXE
  265. on  the  DANCAD3D  shareware  disks.  If your printer is on the serial
  266. port use the DOS mode command to configure  your  serial  port  before
  267. trying  to  print the file.  PRINTDOC.EXE will print the file centered
  268. on the page (the leading spaces have been omitted from  this  file  to
  269. save disk space.)
  270.  
  271. EXAMPLE: C>C:\DC25\PRINTDOC A:CAMPLOT.DOC PRN
  272.          C>C:\DC25\PRINTDOC A:CAMPLOT.DOC LPT2
  273.          C>C:\DC25\PRINTDOC A:CAMPLOT.DOC COM1
  274.  
  275.  
  276.                 OVERVIEW OF HOW DANCAM AND DANPLOT WORK
  277.  
  278.     DANPLOT  and  DANCAM  are  two  programs  that you can run on your
  279. computer to manufacture parts.  YOU DO NOT NEED to understand or  have
  280. any  background in CNC or "G" codes to use DANCAM and DANPLOT.  DANCAM
  281. and DANPLOT work in a SIMPLE AND DIRECT MANNER,  they simply move  the
  282. tool along lines and curves THAT YOU DRAW with DANCAD3D.  All you have
  283. to  do  is  draw  on  DANCAD3D's  drawing screen a series of lines and
  284. curves in the order you want the tool to trace out those  motions  and
  285. DANCAM or DANPLOT will FOLLOW THE MOTIONS YOU HAVE DRAWN OUT.
  286.  
  287.     To  use  DANCAM  and DANPLOT you simply go to a motor supply house
  288. and purchase some stepper motors and driver modules (instructions  and
  289. schmatics  for  low  cost  stepper  and servo motor driver modules and
  290. power supplies you can build are included in the  DANCAD3D  v2.5  user
  291. outfit.)  You  will  also need a power supply (some driver modules are
  292. powered from the AC line and do not require a power supply) and  a  36
  293. pin mating connector for your parallel port cable.  Connect the motors
  294.  
  295.                                   [5]     
  296.  
  297. [    O V E R V I E W   O F   D A N C A M   A N D   D A N P L O T     ]   
  298.  
  299.  
  300. to  drive  your  machine's  lead screws with timing belts and pulleys.
  301. Follow the connections shown in the drawing HOOKUP1.2D that  comes  on
  302. the DANCAD3D v2.5 shareware disks and connect up the motors,  modules,
  303. and relays to the mating 36  pin  connector  (note  that  use  of  the
  304. information  in this file and the HOOKUP drawings is at your own risk,
  305. Daniel Hudgins is not responsible for any damage or  loss  that  might
  306. occur.) Connect the mating 36 pin connector to the printer end of your
  307. parallel  port  printer  cable.  Run  DANCAM and/or DANPLOT and select
  308. menu option 4.  from the DANCAM  or  DANPLOT  main  menu.  Answer  the
  309. questions  in  the configuration menu so that the motors will move the
  310. proper amount when the program is used.  Press [E]scape  to  exit  the
  311. configuration section.  Try using main menu option 3. to manually move
  312. the  motors.  Use a dial gage if you have one to confirm that the tool
  313. is moving the proper amount (when you test the movement make the  tool
  314. or  work-piece  move  0.25 inch two or three times in order to take up
  315. the backlash in your machine,  and ignore  the  first  reading.)  Quit
  316. DANCAM or DANPLOT.
  317.  
  318.     Now  that  you have an automated machine tool or plotter hooked up
  319. to your computer you can use DANCAD3D v2.5 to  make  some  ASCII  type
  320. data  files  for  tool  paths.  Run  DANCAD3D  and  select  DRAW  from
  321. DANCAD3D's main menu.  Draw the tool path.  Save the tool path element
  322. as an ASCII type file (if you save the ASCII tool  path  to  a  floppy
  323. drive  you  can  take the drawing from your home or office computer to
  324. the computer in the shop and read the drawing from the shop computer's
  325. floppy drive or copy the file to the shop computer's harddisk and read
  326. (execute) the drawing from the  shop  computer's  harddisk  (a  single
  327. computer  can  be  hooked  up to many machine tools to have many parts
  328. made simultaneously, or each machine can have its own computer and the
  329. tool path file can be run  separately  and  or  concurrently  on  each
  330. machine tool.)) Quit DANCAD3D.
  331.  
  332.     Turn  the  power  supply  for  the  automation  motors (DANCAM and
  333. DANPLOT can control relays to turn things on,  but for safety  reasons
  334. you  should  have a manual switch to control the master power supply.)
  335. Run DANCAM or DANPLOT,  select menu option 1.,  and enter the name  of
  336. the  tool  path,  e.g.  SOMEFILE.ASC  or  A:\SOMEFILE.ASC,  to execute
  337. (execute means trace out the path drawn by moving the  tool  or  work-
  338. piece relative to each other.) DANCAM or DANPLOT should then make your
  339. part  for  you.  When the tool path is finished DANCAM or DANPLOT will
  340. return the tool to home position and be ready  to  make  another  part
  341. from  the  same tool path or another tool path file.  You can file the
  342. floppy disk copy of the tool path so that if you ever need more parts,
  343. or replacement parts,  all you have to do is shove the floppy disk  in
  344. the  computer  and  enter the tool path name to make another identical
  345. part.  If you have manufacturing stations around  the  world  you  can
  346. send  tool  paths on floppy disks so that the remote stations can make
  347. up parts on demand locally and  reduce  your  shipping  and  inventory
  348. costs.
  349.  
  350.     DOS  batch  files  can  be  used  to  operate  DANCAM  and DANPLOT
  351. automatically to make several parts.  The machine  operator  DOES  NOT
  352. NEED  TO  USE  ANY  OF THE MENUS in DANCAD3D,  DANCAM,  and DANPLOT to
  353.  
  354.                                   [6]     
  355.  
  356. [    O V E R V I E W   O F   D A N C A M   A N D   D A N P L O T     ]   
  357.  
  358.  
  359. manufacture parts.  The machine operator does need to  understand  the
  360. meaning  of  some of the messages that come on the screen (such as the
  361. DOS PAUSE command telling him to press ANY-KEY when ready) or at least
  362. know enough to alert a more knowledgeable operator when something goes
  363. wrong.  The machine operator should also be told that the power driven
  364. tool can move unexpectedly and hurt him,  therefore THE POWER  TO  THE
  365. MOTORS  COILS SHOULD ALWAYS BE SWITCHED OFF BEFORE EXPOSING HIMSELF TO
  366. THE EQUIPMENT.  Safety switches on the equipment access covers to turn
  367. off the motor coil power are advisable to  help  reduce  injuries  (to
  368. maintain  possitional  accuracy  the  logic  power to the motor driver
  369. modules should not normally be switched off in the middle  of  a  tool
  370. path  execution,  so when hooking up DANCAM and DANPLOT you should try
  371. to wire up two separate power switches:  one for the motor coil power,
  372. and the other for the motor driver module logic power.)
  373.  
  374.     To summarize, using DANCAM and DANPLOT takes these steps:
  375.  
  376.  
  377.                        PHASE ONE: HOOKING IT UP
  378.  
  379. 1. Hook up automation motors and switches mechanically to machine.
  380. 2. Hoop up electrical connections to modules and switches.
  381. 3. Configure DANCAM and DANPLOT to fit your mechanical hook up.
  382. 4. Test the installation to make sure the motors are working.
  383.  
  384.  
  385.                    PHASE TWO: COMPUTER AIDED DESIGN
  386.  
  387. 1. Use DANCAD3D to draw tool paths for the tool paths needed.
  388. 2. Save the tool paths to floppy disks.
  389. 3. Write a  DOS  batch  file  to  control the manufacture of the parts
  390.    needed,  and save the batch  file  to  the  floppy  disk  with  the
  391.    corresponding tool path files.  Set up the AUTOEXEC.BAT on the shop
  392.    computer  so  that  the  user will be prompted to insert the floppy
  393.    disk with the tool path and batch file to  control  the  number  of
  394.    parts  to  make.  For  safety,  the  batch  file  should prompt the
  395.    operator to turn the motor power on  and  off  at  the  appropriate
  396.    points in the manufacturing cycle.
  397.  
  398.  
  399.                     PHASE THREE: MACHINE OPERATION
  400.  
  401. 1. Turn  power  on  to the shop computer.  The  AUTOEXEC.BAT file will
  402.    automatically  prompt  the  operator  to insert the tool path disk.
  403.    The AUTOEXEC.BAT file then runs the batch file  on  the  tool  path
  404.    floppy  disk  (in order to have the AUTOEXEC.BAT file run the batch
  405.    file of the floppy disk you would always use the same filename  for
  406.    the batch file on the floppy disk, e.g. GO.BAT.)
  407. 2. Operator inserts the stock and turns the motor power on.
  408. 3. Operators presses [Any-Key] to start making a part.
  409. 4. Operator is prompted to turn the power off, insert stock,  and turn
  410.    the  power  back  on  (it  is  important that a manual safety power
  411.    switch be used since automatic control of power may not be reliable
  412.  
  413.                                   [7]     
  414.  
  415. [    O V E R V I E W   O F   D A N C A M   A N D   D A N P L O T     ]   
  416.  
  417.  
  418.    (the manual control may not be  reliable  either,  but  the  manual
  419.    control of the power puts the responsibility for motor power on the
  420.    user/operator).)
  421. 5. The  manufacturing cycle continues under the direction of the batch
  422.    files  on  the  tool path floppy disks (i.e.  GO.BAT can prompt the
  423.    user to insert further floppy disks and run sub-batch files.)
  424.  
  425.     Phase three is of course not necessary if you are going to be  the
  426. operator  of the machine.  In the case that you are doing all the work
  427. yourself you would save the data file on your harddisk  from  DANCAD3D
  428. and then run DANCAM or DANPLOT, turn on the power for the machine, and
  429. enter the filename of the tool path you saved to your harddisk.
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.                                   [8]     
  473.  
  474. [                  P R O G R A M   F E A T U R E S                   ]   
  475.  
  476.  
  477.  
  478.                            PROGRAM FEATURES
  479.  
  480.     DANCAM and DANPLOT both have several features that make setup  and
  481. operation simple and relatively easy to accomplish:
  482.  
  483. * All commands displayed on screen.
  484. * Menu driven configuration is adjustable to any units.
  485. * Works with tool paths drawn in metric, inch, or other units.
  486. * Motor testing utilities to check maximum motor speed under load.
  487. * Jog menu lets you position tool manually and has position read out.
  488. * Can be paused while making parts from keyboard or switch on port.
  489. * Supports up to four auxiliary relays to control anything.
  490. * Has automatic or manual home up to home switches.
  491. * Limit switches can be used to protect against out of range movement.
  492. * Can be operated from dos command line automatically.
  493. * Can be automatically operated from DOS batch files.
  494. * Uses user accessible DANCAD3D ASCII data file type.
  495. * Overall scaling factor to adjust part size.
  496. * Adjusts to any pitch lead screws or drive chain.
  497. * High accuracy over large distances of tool travel.
  498. * Works with any motor driver using step pulse and direction signals.
  499. * Feed rates can be installed from rapid movement to very slow.
  500. * Feed  rate  change,  auxiliary  relay  toggle,   and  pause  can  be
  501.   controlled automatically from line colors in the tool path file.
  502. * Installable delay after relay toggle lets equipment settle down.
  503. * Automatic backlash compensation when needed.
  504. * DANCAM is fully three dimensional and can make any three axis shape.
  505. * DANCAM and DANPLOT will run on almost any low cost PC compatible.
  506. * Low cost simple connection to parallel port, LPT1, LPT2, OR LPT3.
  507.  
  508.     When run on a 10 MHz 80286 computer DANCAM and DANPLOT can produce
  509. about  3420  step  pulses per second which would run servo motors with
  510. 200 steps per revolution at a speed of about 1026  RPM.  Most  stepper
  511. motors  have  a  reliable  top speed less than 200 RPM so when stepper
  512. motors are used the reliable operation of the motors  limits  the  top
  513. speed  obtainable  and  not  DANCAM  or  DANPLOT.  The  built  in rate
  514. multiplier can be used to increase the step  angle  for  servo  drives
  515. (i.e.  to  3.6  degrees) to get speeds of 2000 rpm or more since servo
  516. motors are normally feed through a 6:1 or 8:1 reduction before driving
  517. a 5 tpi lead screw,  giving about 300 RPM at the lead screw or a  feed
  518. of 60 inches per minute.
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.                                   [9]     
  532.  
  533. [                      A P P L I C A T I O N S                       ]   
  534.  
  535.  
  536.  
  537.                   APPLICATIONS FOR DANCAM AND DANPLOT
  538.  
  539.     DANCAM  and  DANPLOT  are similar programs,  but each one has been
  540. optimized  for  different  applications.   DANCAM  is   designed   for
  541. applications  that require the tool or actuator to move between points
  542. at any location in three dimensions.  DANPLOT is optimized for working
  543. on flat material, e.g. sheet or plate, and will automatically lift the
  544. tool or turn off the cutting flame or laser beam before moving to  the
  545. next  point  in  the drawing file.  In other words DANCAM is used used
  546. for applications like 3D milling, and DANPLOT is used for plotter like
  547. work such as engraving and torch cutting.
  548.  
  549.     Both DANPLOT and DANCAM can draw circles and curves of  any  type.
  550. DANCAM  can  manufacture any part that can be produced on a three axis
  551. machine tool.  The production of circles and  curves  takes  place  in
  552. DANCAD3D  as  part of the preparation of the drawing of the tool path.
  553. For complex contoured surfaces the tool path must define  points  that
  554. are  more  closely  spaced  than for the tool paths of parts than have
  555. flat surfaces.  In the event that the tool path is to complex  to  fit
  556. entirely  in DANCAD3D's workspace at once,  the required tool path can
  557. be drawn in sections,  and chained together for  use  with  DANCAM  or
  558. DANPLOT.  DANCAM and DANPLOT can read tool path files of any length.
  559.  
  560.     DANCAD3D  has  special  macro  commands  that can produce swept or
  561. contoured surfaces.  The macro commands for DANCAD3D are explained  in
  562. detail  in  the  DANCAD3D manuals and example disks that come with the
  563. registered user outfit.
  564.  
  565.  
  566.                   APPLICATIONS DANCAM CAN BE USED FOR
  567.  
  568.                           MAIN USES OF DANCAM
  569.  
  570. * Three axis fully Three-Dimensional vertical milling.
  571. * Operation of lathes.
  572. * Cutting foam and other materials with hot wires.
  573. * Flame cutting where the torch height needs to be adjusted.
  574. * Laser cutting where the laser height needs to be adjusted.
  575. * Drilling holes to varying depths.
  576.  
  577.  
  578.                   ADDITIONAL POSSIBLE USES FOR DANCAM
  579.  
  580. * Spray application where sprayer moves in three dimensions.
  581. * Glue application where applicator moves in three dimensions.
  582. * Welding, spot or arc.
  583. * Parts insertion, screw insertion, or nailing.
  584. * Automated warehouse loading and unloading.
  585. * Three axis motion control photography.
  586. * Automation of a motion picture animation stand.
  587. * Dipping of parts for coating by use of a gripper.
  588. * Processing film, PC boards, or micro chip wafers.
  589.  
  590.                                   [10]     
  591.  
  592. [                      A P P L I C A T I O N S                       ]   
  593.  
  594.  
  595.  
  596.     In addition to the linear  three  axis  applications  noted  above
  597. DANCAM  can  be  used  to  have  one axis or more move in a non-linear
  598. manner.  For instance the X axis could control a  rotating  table,  so
  599. when  the  drawing for the motion of the X axis is drawn with DANCAD3D
  600. the person drawing the tool path would use units of arc (i.e. 0 to 360
  601. degrees) rather than units of distance (e.g.  0.001  inch  as  +/-  10
  602. inches.)
  603.  
  604.     For  lathes  the  third  axis in DANCAM can be used to control the
  605. spindle speed by connecting a small stepper motor to the shaft  of  an
  606. SCR speed control for the spindle motor.
  607.  
  608.  
  609.           THREE AXIS APPLICATIONS WHERE DANPLOT CAN BE USED
  610.  
  611. * Building a large pen plotter to plot drawings full life size.
  612. * Engraving scales and lettering.
  613. * Cutting fabric or leather from a pattern.
  614. * Drilling printed circuit boards.
  615. * Drilling holes to constant depth, slow down & fast up motion option.
  616. * Flame cutting with automatic flame control on the Z axis.
  617. * Laser cutting automatic laser on and off control on the Z axis.
  618. * Automated routing of wood for cabinets and stair runners.
  619. * Stamping or punching of sheet metal or other material.
  620. * Glue, Grease, Potting compound, OR Oil application.
  621.  
  622.     With  DANPLOT the third (Z) axis can be used in several ways:  you
  623. can control a stepper motor,  you can control  a  relay,  or  you  can
  624. control  a  solenoid.  The  normal  use of the stepper motor for the Z
  625. axis would be to raise and lower the tool,  such that the tool is  not
  626. in  contact  with  the  work-piece  when  the  tool  moves to the next
  627. starting point if the line segments drawing in the file being executed
  628. to not touch.  Additionally the Z axis stepper motor can  be  used  to
  629. open  or  close  a valve or rheostat.  A relay on the Z axis direction
  630. control line can be used to turn a laser or other electrical device on
  631. or off.  A solenoid triggered by the Z axis could be used to stamp  or
  632. punch the sheet material.
  633.  
  634.  
  635.            FOUR AXIS APPLICATIONS WHERE DANPLOT CAN BE USED
  636.  
  637. * Knife cutting of signs out of vinyl.
  638. * Saw cutting of wood with a Saber, Band or Scroll saw.
  639. * Cutting fabric or leather from a pattern.
  640. * Broaching of key ways, groves, or gear teeth.
  641. * Automating nibbling tools.
  642.  
  643.     The  forth  or "C" axis (the c axis is rotation around the Z axis,
  644. such that the cutting edge of the tool is parallel to the Z  axis)  in
  645. DANPLOT  will rotate the cutting edge of a knife or recriprecating saw
  646. so the cutting edge always faces into the direction of the motion  the
  647. tool  as  the  tool  moves through the work-piece.  A tolerance on how
  648.  
  649.                                   [11]     
  650.  
  651. [                      A P P L I C A T I O N S                       ]   
  652.  
  653.  
  654. large a C axis angle change is required before the tool will  lift  is
  655. available  to  speed  the  cutting  of curves and circles (normally in
  656. knife cutting no harm comes if the knife rotates in the work-piece  as
  657. circles  are  cut out,  but you will want (and DANPLOT will perform) a
  658. tool removal,  tool rotation,  and tool  insertion  when  large  angle
  659. changes (such as at a 90 degree corner) need to be made.
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.                                   [12]     
  709.  
  710. [                G E N E R A L   I N F O R M A T I O N               ]   
  711.  
  712.  
  713.  
  714.                           GENERAL INFORMATION
  715.  
  716.     To use DANPLOT and DANCAM you will need to create a text file that
  717. contains information on the end points of line segments, such that the
  718. line segments define the path you want your tool (or work-piece as the
  719. motion  between  the  tool and work-piece is relative) to move through
  720. space.  The easiest way to create the necessary file of  line  segment
  721. data  is  to  use DANCAD3D v2.5 to draw the line segments in the order
  722. you want them and in the direction you want  the  motion  to  proceed.
  723. The  necessary  line  segment  data  file can also be made with a text
  724. editor or by a data file conversion program  (to  convert  some  other
  725. data filetype such as DXF, HPGL, or "G" code, into DANCAD3D v2.5 *.ASC
  726. file format.) Information about the DANCAD3D ASCII data file format is
  727. given in the DANCAD3D technical reference manual, but is not needed to
  728. use  DANCAM  and  DANPLOT  since  DANCAD3D will create the proper file
  729. format for you automatically.
  730.  
  731.     DANPLOT and DANCAM are very similar programs but  have  each  have
  732. special  features  to  make  them work better for their intended task.
  733. When you  install  DANCAM  and  DANPLOT  by  using  the  configuration
  734. utilities  accessed  from  DANCAM's  or DANPLOT's main menu you should
  735. keep in mind the different applications that the programs are designed
  736. for.
  737.  
  738.     DANPLOT is designed for use for working on flat or sheet material.
  739. The Z axis for DANPLOT has two states,  up or  on  and  down  or  off.
  740. DANPLOT  can  be  used  to  build  large  plotters  for plotting large
  741. drawings.  A "C" axis motor can  be  used  with  its  rotational  axis
  742. parallel to the the Z axis in order to point the cutting tool into the
  743. direction of the motion of the cut (i.e. for use with knifes and saber
  744. saws.)  The Z (pen) axis motor can be replaced with a relay to control
  745. (toggle) a laser or torch automatically (the Z axis direction  pin  on
  746. the  port  connector  indicates  the state,  on or off.) Only the line
  747. segments that will appear on the work-piece need to  be  in  the  data
  748. file  since DANPLOT will automatically lift the tool clear (turns off)
  749. of the work-piece when moving between the drawn line segments and when
  750. the tool path is done.  Tool paths  for  use  with  DANPLOT  have  all
  751. points in the Z = 0 plane.
  752.  
  753.     DANCAM  is designed for use for working on 3D parts where the tool
  754. moves in all three dimensions.  The Z axis in DANCAM is equal  to  and
  755. interchangeable  with to the X axis and Y axis.  DANCAM is also useful
  756. for 2 axis work where the full motion of the tool will be  drawn  out.
  757. With DANCAM it is best to draw all motions out fully, including a safe
  758. path  to the start of cutting,  controlled feed rate for the cuts (the
  759. change in feed rate is accomplished by changing the line color in  the
  760. tool  path  drawing),  and  a safe path from the final cut back to the
  761. home position (you can draw every other line segment in the tool  path
  762. for  DANCAM  to  reduce  the total number of line segments in the data
  763. file,  if you keep in mind that DANCAM will always take  the  shortest
  764. path through three dimensions to the next first point of the next line
  765. segment.)
  766.  
  767.                                   [13]     
  768.  
  769. [                G E N E R A L   I N F O R M A T I O N               ]   
  770.  
  771.  
  772.  
  773.     When  making a tool path files for use with DANCAM or DANPLOT keep
  774. the differences between the way the programs carry out  the  execution
  775. of line segments in the drawing file in mind.
  776.  
  777.     DANPLOT  will  read  two  types  of file (ASCII and Plotter driver
  778. output) made with DANCAD3D.  You can draw a tool path as a set of line
  779. segments or as a set of dots (holes to be drilled can be indicated  by
  780. dots)  with  DANCAD3D  without  connecting the dots since DANPLOT will
  781. automatically lift the tool before moving  to  the  next  point  (i.e.
  782. DANPLOT works like a pen plotter, such that the pen will automatically
  783. lift  and  move  to  the  next  line  segment without drawing unwanted
  784. connecting line segments that  were  not  in  the  DRAWING  made  with
  785. DANCAD3D.)  DANPLOT  can also read special plotter driver output files
  786. made in DANCAD3D with the DANPLOT.PLT plotter driver that  accompanies
  787. DANPLOT  on  this  disk.  The plotter driver DANPLOT.PLT would be used
  788. for applications  such  as  engraving  that  require  DANCAD3D's  line
  789. thickness  attribute  to be carried accurately to the finished result.
  790. For  all  applications  other  than  engraving  use  DANCAD3D's  ASCII
  791. filetype for tool paths that will be used with DANPLOT.
  792.  
  793.     DANCAM works like DANPLOT except the movement of the tool is fully
  794. 3D,  with  all  3  axis  motors being simultaneously controlled by the
  795. lines you draw with DANCAD3D.  DANCAM only  reads  the  DANCAD3D  v2.5
  796. ASCII file format.
  797.  
  798.     DANCAM  is  useful for most 3 axis tasks such as vertical milling.
  799. You do however need to draw the tool path fully as a continuous series
  800. of line segments.  If you skip a line segment  DANCAM  will  take  the
  801. shortest  path  to  the  next  given  point  or  to  the home position
  802. currently installed in DANCAM's configuration menu if there is no next
  803. point to go to.  So when you use DANCAM you should always draw all the
  804. movements you want the tool to make,  including the safe path clear of
  805. the  work-piece  when  done (in DANPLOT to tool automatically lifts to
  806. clear  the  work-piece  when  done  and  goes  home,  DANCAM  can  not
  807. automatically  know what a safe return path is since dovetail mills or
  808. other odd shape cutters may be in use (DANCAM will take  the  shortest
  809. path  from  the  last point drawn to home when done,  so make sure the
  810. last point in the tool path is clear of the work-piece!).)
  811.  
  812.  
  813.  
  814.                      HOW TO USE DANCAM AND DANPLOT
  815.  
  816.     In general the use of DANCAM and DANPLOT follows these steps:
  817.  
  818. 1. Build  or buy a machine to automate.  Generally you will  want  the
  819.    lead  screws that have about 5 threads per inch so that the stepper
  820.    motors 200 or 400 steps per shaft rotation will give  a  resolution
  821.    of  0.001  or  0.0005  of  an inch.  Chain or timing cable drive in
  822.    place of a lead screw  is  an  excellent  choice  for  drives  that
  823.    require  less  resolution  and  faster  feed  rates.  Always try to
  824.    minimize inertia in components that must be driven, i.e.  use small
  825.  
  826.                                   [14]     
  827.  
  828. [                G E N E R A L   I N F O R M A T I O N               ]   
  829.  
  830.  
  831.    radius aluminum pulleys.
  832.  
  833. 2. Install stepper motors  on  your  machine.   Use  timing  belts  or
  834.    flexible  shaft  (bellows)  couplings  between the motor shafts and
  835.    lead screws to reduce noise and lost steps caused by  vibration  in
  836.    the  motor  coupling.  Stepper  motors  get  hot  (80C  to  85C) in
  837.    operation so proper mounting would allow  the  conduction  of  heat
  838.    from  the  motor  and  circulation of cooling air.  Used or surplus
  839.    stepper motors can be purchased for a fraction of what  new  motors
  840.    cost.  In general stepper motors should have a rated holding torque
  841.    that is at least FOUR TIMES THE TORQUE that will be required at the
  842.    operating  RPM (the torque of stepper motors falls off as the motor
  843.    turns faster,  so that a motor  rated  at  500  inch/ounce  holding
  844.    torque  might  only  have  200  inch/ounce at 60 RPM,  and only 100
  845.    inch/ounce at 120 RPM,  with the torque falling completely to  zero
  846.    at  180  RPM.)  Using  stepper  motors  that are two small,  and or
  847.    running the motors faster than they can reliable go  is  the  major
  848.    cause  of  problems  people have with stepper motors.  Also stepper
  849.    motors need to be operated at 4 to 6 times their rated  voltage  to
  850.    give  satisfactory  results  (a constant current stepper translator
  851.    module or resistors in series with the motor windings are  required
  852.    to  prevent  the  motor  from  overheating  when  operated  at high
  853.    voltages, i.e. 48 to 96 volts.)
  854.  
  855. 3. Buy  or build the stepper motor translator modules and  motor power
  856.    supplies (instructions for building the  electronics  required  are
  857.    included  in  the  DANCAD3D  v2.5 outfit's manuals.) Stepper motors
  858.    generally operate with two coils (phases) on so the current draw is
  859.    double the rated current,  e.g.  three motors rated at 2 Amps  will
  860.    require  a  power  supply  that  can deliver at least 12 amps.  The
  861.    stepper driver translator modules you will need are available  form
  862.    your  local  motor  distributor.  Most  stepper  motor manufactures
  863.    supply driver modules optimized for  their  own  brand  of  motors.
  864.    Surplus  or  used stepper motors can be purchased for a fraction of
  865.    what new motors cost,  e.g.  500 inch ounce motors can be found for
  866.    less  than  $75.  If  you want to use solid state relays to control
  867.    the spindle of your machine or other  auxiliary  device  buy  solid
  868.    state  relays  that are rated for input of 3 volts DC or less since
  869.    the parallel port cannot supply more than 3 volts (if more power is
  870.    needed than the parallel port can supply a TTL buffer chip such  as
  871.    the 74H07 and pull-up resistors (approximately 330 ohm) can be used
  872.    amplify  the signal.) You can build your own stepper driver modules
  873.    to drive three five amp motors for about $100 or less depending  on
  874.    how fancy you want to get.  Ready made translator modules cost from
  875.    $50 to $600 per axis depending on the power and speed required.
  876.  
  877. 4. Use   the  diagram  HOOKUP1.2D  on  the  DANCAD3D v2.5 shareware or
  878.    program  disks  to  connect  the  stepper  motor  translator driver
  879.    modules to your computers parallel port.  If four auxiliary  relays
  880.    are  to be used a 5 volt 500ma power supply (about a $10 item) will
  881.    be required for the pull-up bias,  otherwise the auxiliary C and  D
  882.    outputs can be used to pull-up the home and limit switch inputs (X,
  883.    Y,  and  Z  home  switch  inputs  being  pulled  up through 10K ohm
  884.  
  885.                                   [15]     
  886.  
  887. [                G E N E R A L   I N F O R M A T I O N               ]   
  888.  
  889.  
  890.    resistors to auxiliary C output,  and the pause/limit  input  being
  891.    pulled up through a 5K ohm resister to the auxiliary D output pin.)
  892.  
  893. 5. Run   DANCAM  and  DANPLOT  and  install  the  values for speed and
  894.    resolution  that correspond to your machine.  Test the motors under
  895.    load to make sure they can keep up with  the  movements  they  will
  896.    need  to  make.  If the motors "louse steps" (that is slip and fail
  897.    to rotate to the proper position) under load  use  a  larger  Pulse
  898.    With  Factor  (p.w.f.)  to give the motor time to complete one step
  899.    before another is requested (if a stepper motor louses steppes  the
  900.    rotor will no longer have the proper rotational position (until the
  901.    motors  are  sent  home again which is a good reason for installing
  902.    the home switches.)) Reducing the motor current to 80% of the rated
  903.    current can sometimes reduce lost steps caused by resonance in  the
  904.    middle speed range.
  905.  
  906. 6. Run DANCAD3D,   draw a tool path, and save the tool path drawing as
  907.    an ASCII data file (or a plotter driver output file if you need the
  908.    line width feature for DANPLOT.)
  909.  
  910. 7. Run  DANCAM or DANPLOT,  select menu option 1,  and enter the  file
  911.    name of the ASCII (*.ASC)  tool  path  file  you  just  saved  from
  912.    DANCAD3D.  If  you  did  the  installation properly your first part
  913.    should come out as designed.  If  the  first  part  is  not  proper
  914.    adjust the installation and or the tool path drawing and try again.
  915.    Keep  in  mind that DANCAM and DANPLOT can run from the DOS command
  916.    line and therefore from DOS batch files.  Operators of equipment do
  917.    not need to use any of DANCAM or  DANPLOT's  menus  since  you  can
  918.    write  a  batch  file  to  read  the  data  file from a floppy disk
  919.    automatically.
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.                                   [16]     
  945.  
  946. [   D O S   C O M M A N D   L I N E   A N D   B A T C H   F I L E S  ]   
  947.  
  948.  
  949.  
  950.    EXAMPLE OF HOW TO RUN DANCAM OR DANPLOT FROM THE DOS COMMAND LINE
  951.  
  952.     To  operate  DANCAM  or  DANPLOT  from the DOS command line simply
  953. enter DANCAM or DANPLOT followed by a space and then the name  of  the
  954. data  file  to  be  plotted and then followed by another space and the
  955. number 1 (or 1 or 2  for  DANPLOT.)  The  number  following  the  data
  956. filename  is  equilevent  to  the  menu option number from DANCAM's or
  957. DANPLOT's main menu.
  958.  
  959. EXAMPLE: C>DANCAM A:DATAFILE.ASC 1
  960.          C>DANPLOT A:DATAFILE.ASC 1
  961.  
  962.     If you want to have one of the other menu options come up from the
  963. DOS command line you can use the dummy filename NUL.
  964.  
  965. EXAMPLE: C>DANCAM NUL 3
  966.          C>DANPLOT NUL 3
  967.  
  968.  
  969.      EXAMPLE OF BATCH FILES THAT AUTOMATICALLY RUN DANCAM OR DANPLOT
  970.  
  971.     The following DOS batch file will make parts from data files saved
  972. on floppy disks.  Note that all the data files should  have  the  same
  973. name  (when  you  save  the  DOS  batch file you should always use the
  974. filename extension *.BAT.)
  975.  
  976. EXAMPLE: :START
  977.          ECHO OFF
  978.          CLS
  979.          ECHO PUT TOOL PATH DISK IN DRIVE A:
  980.          PAUSE
  981.          DANCAM A:DATAFILE.ASC 1
  982.          GOTO :START
  983.  
  984.     Since the floppy drives are somewhat slow you can get  faster  and
  985. smoother  plots by coping the data file to a harddisk or RAM disk (the
  986. delay for the floppy drive to come up to speed when data is being read
  987. will cause the cutter to idle for a  moment  periodically,  a  problem
  988. that  can  be  avoided by reading the data file from a harddisk or RAM
  989. disk.)
  990.  
  991. EXAMPLE: :START
  992.          ECHO OFF
  993.          CLS
  994.          ECHO PUT TOOL PATH DISK IN DRIVE A:
  995.          PAUSE
  996.          COPY A:DATAFILE.ASC C:\DC25\*.*
  997.          DANCAM C:\DC25\DATAFILE.ASC 1
  998.          GOTO :START
  999.  
  1000.     You can have DANCAM automatically run after you quit  DANCAD3D  by
  1001. using  a DOS batch file.  To break a loop in a DOS batch file you need
  1002.  
  1003.                                   [17]     
  1004.  
  1005. [   D O S   C O M M A N D   L I N E   A N D   B A T C H   F I L E S  ]   
  1006.  
  1007.  
  1008. to press [Control] & [C] while the batch file is operating.
  1009.  
  1010. EXAMPLE: :START
  1011.          CLS
  1012.          DANCAD3D
  1013.          DANCAM
  1014.          GOTO :START
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.                                   [18]     
  1063.  
  1064. [              H A R D W A R E   R E Q U I R E M E N T S             ]   
  1065.  
  1066.  
  1067.  
  1068.                          HARDWARE REQUIREMENTS
  1069.  
  1070.     Although DANCAD3D requires a fast computer and  harddisk,  DANPLOT
  1071. and DANCAM can be used with a less expensive system.  One advantage of
  1072. using  a  less  expensive  computer  in  the  shop  with the automated
  1073. equipment is that if the shop computer is damaged you will not have to
  1074. spend much to repair it.  In applications requiring higher motor shaft
  1075. speeds (i.e.  Greater than about 100 RPM) a 80286  replacement  mother
  1076. board  can  be put in an XT type case (replacement 80286 mother boards
  1077. only cost about $140 or less.) Since a 10MHz 80286 XT size  AT  mother
  1078. board  can  run  as much as 8 times as fast as a 4.7MHz 8088 XT mother
  1079. board it is very much worth the slight  added  cost  to  use  a  80286
  1080. mother board for DANCAM or DANPLOT.
  1081.  
  1082.     DANCAM  and DANPLOT will work on almost any IBM (tm) compatible PC
  1083. that has one floppy drive and a IBM (tm) PC  standard  parallel  port.
  1084. No  special  hardware  is  required  for  the computer.  Many standard
  1085. stepper motor driver modules and solid state relays can  be  connected
  1086. directly to the parallel port.  The signals from the parallel port can
  1087. be  boosted  with  inexpensive parts to drive almost any other stepper
  1088. driver module or relay that requires more power  than  the  power  the
  1089. parallel port can supply.
  1090.  
  1091. COMPUTER: 100% IBM PC-XT or AT compatible.
  1092.  
  1093. PORTS:    One Parallel Port is required, i.e. LPT1, LPT2, or LPT3.
  1094.  
  1095. VIDEO:    Any 80 column by 25 line video text display.
  1096.  
  1097. MEMORY:   192KB RAM DOS system memory, 128KB or more free.
  1098.  
  1099. DRIVES:   1 floppy disk drive.  Reading the tool path data file from a
  1100.           RAM  disk  can  avoid  periodic  short  interruptions due to
  1101.           blocks of data being loaded from the data file.  If you have
  1102.           640KB on the computer you are using for DANCAM or DANPLOT  a
  1103.           RAM  disk  program  to  make  a 448KB RAM disk from your DOS
  1104.           system memory and have enough left over to run  DANPLOT  and
  1105.           DANCAM  (you  would  copy the ASCII tool path data file into
  1106.           the RAM disk,  and have DANPLOT of DANCAM read the tool path
  1107.           from the RAM disk drive.) A RAM disk is created by running a
  1108.           small utility program before you run DANCAM or DANPLOT.  RAM
  1109.           disk utility programs are available from ShareWare dealers.
  1110.  
  1111. CABLES:   You will  need a parallel port cable.  If you have a printer
  1112.           connected  to  your  computer  you  can  use that cable.  To
  1113.           connect the wires to the translator modules you will need  a
  1114.           Centronics 36 pin connector that will mate with your printer
  1115.           cable.  You  can  then  solder  wires  onto  the  Centronics
  1116.           connector rather than your printer cable and that will allow
  1117.           you to disconnect the  printer  cable  from  the  Centronics
  1118.           connector  at  any  time  to  use  the printer cable on your
  1119.           printer (reboot your computer after using DANCAM or  DANPLOT
  1120.  
  1121.                                   [19]     
  1122.  
  1123. [              H A R D W A R E   R E Q U I R E M E N T S             ]   
  1124.  
  1125.  
  1126.           before  you  use  your printer.) If you buy a printer switch
  1127.           box make sure all of the needed  pins  are  connected  since
  1128.           some cheaper switch boxes may not connect all of the pins.
  1129.  
  1130.           The  wire going between the parallel port pins and the input
  1131.           pins  of  the  translator  modules   should   be   shielded.
  1132.           Microphone  or  video  coaxial  cable  can  be used with the
  1133.           shields of the two cables being tied to  common  (one  cable
  1134.           for  the  step  signal,  and  one  cable  for  the direction
  1135.           signal.) Electro-Magnetic noise can be a problem because  of
  1136.           a  high current that flows through the wires that connect to
  1137.           the motor power supply and to the motors themselves.  Always
  1138.           keep the step and direction cables as separated and far away
  1139.           from the motor coil wires as you can.  Putting  a  2.2K  ohm
  1140.           pull  up  resistor from the step and direction inputs of the
  1141.           translator module to a positive five volt  regulated  supply
  1142.           can help reduce the input impedance of the translator module
  1143.           and therefore the voltage of induced electro-magnetic noise.
  1144.           Opto  isolators,  or LC or RC low pass filters on the inputs
  1145.           of  translator  modules  can  also  help  reduce   incorrect
  1146.           triggering  of  the  translator modules since opto isolators
  1147.           and filters reduce the input impedance.  To filter the  step
  1148.           and  direction signals at the input of the translator module
  1149.           connect a 1000  pf  capacitor  from  the  input  to  common,
  1150.           connect a 2.2K ohm resistor from the input to +5 volts,  and
  1151.           connect  a  100  ohm  resister  between  the  input  of  the
  1152.           translator  and  the  parallel  port  signal.  If adequately
  1153.           shielded and filtered the parallel port to translator  cable
  1154.           can be as long as 50 feet.
  1155.  
  1156.           Wire  for connecting the motors should be stranded and large
  1157.           enough to handle the current required,  i.e.  14 to 16 gage.
  1158.           The wires for the limit and home switches can be rather thin
  1159.           (22  gage)  since  very  little  current  flows  through the
  1160.           switches.
  1161.  
  1162. MODULES:  Stepper motor translator driver modules for stepper  motors.
  1163.           Hundreds of different driver modules are available to  drive
  1164.           different types of stepper motors.  You will want TTL signal
  1165.           compatible  modules  that  have MOTOR STEP (pulse) and motor
  1166.           DIRECTION (cw/ccw) inputs.  Since steeper motors need to  be
  1167.           operated at voltages above what the motors are rated for the
  1168.           stepper  motor  translator  you  purchase  should offer some
  1169.           constant current or current  cutback  feature  to  keep  the
  1170.           motors  from  burning  up  when  they  stop turning (stepper
  1171.           motors get hottest when run  slowly  or  are  stopped.)  Two
  1172.           types  of  translator  module that give good performance are
  1173.           Bipolar chopper and Bilevel  Bipolar.  Bipolar  drives  give
  1174.           more  torque  at medium speeds than Unipolar driver modules.
  1175.           You should check that the stepper motors you  are  going  to
  1176.           use  are  compatible  with  the driver type you want to use.
  1177.           Regardless of the type of  module  selected  the  top  motor
  1178.           speed will be less than the motor's best if the motor supply
  1179.  
  1180.                                   [20]     
  1181.  
  1182. [              H A R D W A R E   R E Q U I R E M E N T S             ]   
  1183.  
  1184.  
  1185.           voltage  is  less  than  five times the rated motor voltage,
  1186.           e.g.  a motor rated at 5 volts will run well with a 25  volt
  1187.           supply,  but  a  25 volt motor will need a supply voltage of
  1188.           125 volts to run well.  The maximum  rated  voltage  of  the
  1189.           motor  driver module of course limits the supply voltage you
  1190.           can use.  Modules also have a  rated  range  of  motor  coil
  1191.           current  they  can  handle  (the coil current for the motors
  1192.           should never exceed the rated current!)
  1193.  
  1194. RELAYS:   Solid  state  relays  such  as  the  HAMLIN  model  7521D or
  1195.           equivalent can be used to control auxiliary devices directly
  1196.           form  the  parallel  port.  The  solid  state  relay  should
  1197.           operate  from  a  3 volt or smaller signal.  Solenoid relays
  1198.           can be controlled from  the  parallel  port  if  you  use  a
  1199.           transistor  and  DC  power  supply (instructions for circuit
  1200.           details of such advanced wiring are in the DANCAD3D outfit's
  1201.           technical information.)
  1202.  
  1203. POWER:    External  power  supply.   You  will  need  a  power  supply
  1204.           powerful enough to drive all  the  stepper  motors  you  are
  1205.           using.  For medium duty tasks this would be 20 to 50 amps at
  1206.           35  to  96  volts (stepper motors are run at voltages 4 to 6
  1207.           times their rated voltage, so if you have motors rated at 10
  1208.           volts you would want to have at least a 50 volt power supply
  1209.           (how high the power supply  voltage  can  be  is  of  course
  1210.           restricted  by the maximum voltage of the translator modules
  1211.           you will be using.)) To determine the total current required
  1212.           figure that two  coils  will  be  drawing  current  in  each
  1213.           stepper  motor so if your motors are rated at 1 amp per coil
  1214.           and you have 3 motors you will need 6 amps plus another 4 to
  1215.           6 amps for "headroom" due to the dynamic nature of the motor
  1216.           load.  To assure that the motors can  get  all  the  current
  1217.           they need while stepping I recommend that you put a 20000 mf
  1218.           capacitor  across  the  power  supply  input of each of your
  1219.           motor driver modules.  A 5 volt 500 ma power supply may also
  1220.           be required to bias any pull-up resistors required.
  1221.  
  1222. SWITCHES: Three Normally Open (N.O.) micro switches for home switches.
  1223.           Six  Normally  Closed  (N.C.)  micro  switches   for   limit
  1224.           switches.  One  Normally  Closed  (N.C.)  toggle  switch for
  1225.           pause switch.  One Normally  Open  (N.O.)  push  button  for
  1226.           bypass button.
  1227.  
  1228. RESISTOR: Five 2.2K ohm 1/4 watt,  for pull-up of  the  switch  inputs
  1229.           (pull-up  resistors  connect  from  TTL logic IC's inputs or
  1230.           outputs to a plus five volt power supply  (the  common  from
  1231.           the  five  volt  power supply would of course connect to the
  1232.           logic common or ground.)) Since the switches connect between
  1233.           the input pins of the parallel port and common  the  pull-up
  1234.           resistors  are  needed  to  insure  that  the input pins are
  1235.           always at logic high (logic high is 2.8 to  5.0  volts.)  If
  1236.           you do not want to use a special 5 volt supply for the limit
  1237.           and  home  switch  inputs  you  can  use  10K  ohm  1/4 watt
  1238.  
  1239.                                   [21]     
  1240.  
  1241. [              H A R D W A R E   R E Q U I R E M E N T S             ]   
  1242.  
  1243.  
  1244.           resistors from the input pins to auxiliary outputs C  and  D
  1245.           (of  course auxiliary C and D cannot then be used for relays
  1246.           since they will need to be logic high all the time.)
  1247.  
  1248. HARDWARE: To mount the motors you will need flexible  shaft  couplings
  1249.           (metal bellows type) or timing  belts  and  pulleys.  It  is
  1250.           important  that  the coupling used on the stepper motor have
  1251.           about 0.5 degree of give (elasticity) so that the motor  can
  1252.           step easily and smoothly and without excessive vibration.
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.                                   [22]     
  1299.  
  1300. [                 H O O K   U P   C O N E C T I O N S                ]   
  1301.  
  1302.  
  1303.  
  1304.                 HOOK UP CONNECTIONS TO THE PARALLEL PORT
  1305.  
  1306.     The complete schmatic for the basic DANCAM and DANPLOT hook up  is
  1307. provided  in  drawing  file  HOOKUP1.2D on the DANCAD3D v2.5 shareware
  1308. program disks.  Printing out the HOOKUP1  drawing  will  make  reading
  1309. this  section  much more understandable.  Additional schmatic diagrams
  1310. are included in the DANCAD3D outfit.  This following information gives
  1311. all the basic connections for using DANCAM and DANPLOT.
  1312.  
  1313.     DANPLOT and DANCAM use the same basic connections to the  pins  of
  1314. the parallel port.  The basic connections to the 36 pin printer end of
  1315. the Centronics parallel port cable are:
  1316.  
  1317.  
  1318.                                Pin No.
  1319.  
  1320.                                 36 18
  1321.                                 35 17
  1322.                                 34 16
  1323.                 TIE TO COMMON - 33 15
  1324.               AUXILIARY INPUT - 32 14
  1325.    AUXILIARY RELAY "D" OUTPUT - 31 13 - Z AXIS HOME SWITCH INPUT
  1326.                 TIE TO COMMON - 30 12 - Y AXIS HOME SWITCH INPUT
  1327.                 TIE TO COMMON - 29 11 - X AXIS HOME SWITCH INPUT
  1328.                 TIE TO COMMON - 28 10 - LIMIT & PAUSE SWITCH INPUT
  1329.                 TIE TO COMMON - 27 09 - AUXILIARY RELAY "B" OUTPUT
  1330.                 TIE TO COMMON - 26 08 - Z AXIS DIRECTION OUTPUT
  1331.                 TIE TO COMMON - 25 07 - Y AXIS DIRECTION OUTPUT
  1332.                 TIE TO COMMON - 24 06 - X AXIS DIRECTION OUTPUT
  1333.                 TIE TO COMMON - 23 05 - AUXILIARY RELAY "A" OUTPUT
  1334.                 TIE TO COMMON - 22 04 - Z AXIS STEP PULSE OUTPUT
  1335.                 TIE TO COMMON - 21 03 - Y AXIS STEP PULSE OUTPUT
  1336.                 TIE TO COMMON - 20 02 - X AXIS STEP PULSE OUTPUT
  1337.                 TIE TO COMMON - 19 01 - AUXILIARY RELAY "C" OUTPUT
  1338.  
  1339.  
  1340.     All  of  the  input pins must be "pulled up" to logic high through
  1341. 2.2K ohm 1/4 watt resistors to a +5 volt regulated power  supply  (you
  1342. should be able to find a +5 volt 500 milliampere power supply for less
  1343. than $10 (you can use three flashlight 1.5v dry cells in series to get
  1344. about  4.5  volts,  but  NEVER  use  more  than 5 volts or less than 3
  1345. volts.)) ALWAYS check that the MINUS (-) end of the five  volt  supply
  1346. connects  to the COMMON point,  since reversed connections will damage
  1347. your parallel port and possibly other parts of your computer.  If  you
  1348. do  not  want to bother with a +5 volt power supply and do not need to
  1349. use the auxiliary outputs  "C"  and  "D",  you  can  usually  use  the
  1350. auxiliary  outputs "C" and "D" to pull up the switch inputs,  as shown
  1351. here:
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.                                   [23]     
  1358.  
  1359. [                 H O O K   U P   C O N E C T I O N S                ]   
  1360.  
  1361.  
  1362.                                Pin No.
  1363.  
  1364.                                 36 18
  1365.                                 35 17
  1366.                                 34 16
  1367.                 TIE TO COMMON - 33 15
  1368.               AUXILIARY INPUT - 32 14
  1369.       PULL UP FOR PIN 10 & 32 - 31 13 - Z AXIS HOME SWITCH INPUT
  1370.                 TIE TO COMMON - 30 12 - Y AXIS HOME SWITCH INPUT
  1371.                 TIE TO COMMON - 29 11 - X AXIS HOME SWITCH INPUT
  1372.                 TIE TO COMMON - 28 10 - LIMIT & PAUSE SWITCH INPUT
  1373.                 TIE TO COMMON - 27 09 - AUXILIARY RELAY "B" OUTPUT
  1374.                 TIE TO COMMON - 26 08 - Z AXIS DIRECTION OUTPUT
  1375.                 TIE TO COMMON - 25 07 - Y AXIS DIRECTION OUTPUT
  1376.                 TIE TO COMMON - 24 06 - X AXIS DIRECTION OUTPUT
  1377.                 TIE TO COMMON - 23 05 - AUXILIARY RELAY "A" OUTPUT
  1378.                 TIE TO COMMON - 22 04 - Z AXIS STEP PULSE OUTPUT
  1379.                 TIE TO COMMON - 21 03 - Y AXIS STEP PULSE OUTPUT
  1380.                 TIE TO COMMON - 20 02 - X AXIS STEP PULSE OUTPUT
  1381.                 TIE TO COMMON - 19 01 - PULL UP FOR PINS: 11, 12, & 13
  1382.  
  1383.  
  1384.     The value of the pull up resistor will need to be increased to 10K
  1385. ohm when auxiliary "C" and "D" are used as the pull up source to avoid
  1386. over loading the parallel port.  When the auxiliary input on pin 32 is
  1387. not used a 4.7K ohm resistor can be connected between pin 31  and  pin
  1388. 10 in place of a 10K ohm resistor.
  1389.  
  1390.     The home switches are normally open (N.O.) and connect between the
  1391. home  switch  input pins and the common (ground) point.  The six limit
  1392. switches,  and pause  switch,  are  normally  closed  (N.C.)  and  are
  1393. connected  in  series between pin 10 and the common point.  The bypass
  1394. push button for  the  limit  switches  is  normally  open  (N.O.)  and
  1395. connects  from  pin  10  to  the  common  point.  If  one of the limit
  1396. switches opens (due to out-of-range travel, the motors will stop,  and
  1397. an  error  message  will  come  up  on  the computer screen) press the
  1398. [Control] and [X] keys on the keyboard and then press the limit switch
  1399. bypass button you  wired  from  pin  10  to  the  common  point.  When
  1400. installing  the  limit  switches at the home end of the travel be sure
  1401. that the limit switches become open several motor steps AFTER the home
  1402. switches have closed (otherwise the motors will stop before  the  home
  1403. position is reached!) The WINDOW command in DANCAD3D should be used to
  1404. clip  the  tool path before you save the tool path to an ASCII file to
  1405. avoid out-of-range motions.
  1406.  
  1407.     DANPLOT can be hooked up in  some  additional  configurations.  In
  1408. order  to  use  the C axis the auxiliary relay "A" and "B" output pins
  1409. are used for the C axis step and direction signals,  and the auxiliary
  1410. input is used for the C axis home switch:
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.                                   [24]     
  1417.  
  1418. [                 H O O K   U P   C O N E C T I O N S                ]   
  1419.  
  1420.  
  1421.                                Pin No.
  1422.  
  1423.                                 36 18
  1424.                                 35 17
  1425.                                 34 16
  1426.                 TIE TO COMMON - 33 15
  1427.      C AXIS HOME SWITCH INPUT - 32 14
  1428.    AUXILIARY RELAY "D" OUTPUT - 31 13 - Z AXIS HOME SWITCH INPUT
  1429.                 TIE TO COMMON - 30 12 - Y AXIS HOME SWITCH INPUT
  1430.                 TIE TO COMMON - 29 11 - X AXIS HOME SWITCH INPUT
  1431.                 TIE TO COMMON - 28 10 - LIMIT & PAUSE SWITCH INPUT
  1432.                 TIE TO COMMON - 27 09 - C AXIS DIRECTION OUTPUT
  1433.                 TIE TO COMMON - 26 08 - Z AXIS DIRECTION OUTPUT
  1434.                 TIE TO COMMON - 25 07 - Y AXIS DIRECTION OUTPUT
  1435.                 TIE TO COMMON - 24 06 - X AXIS DIRECTION OUTPUT
  1436.                 TIE TO COMMON - 23 05 - C AXIS STEP PULSE OUTPUT
  1437.                 TIE TO COMMON - 22 04 - Z AXIS STEP PULSE OUTPUT
  1438.                 TIE TO COMMON - 21 03 - Y AXIS STEP PULSE OUTPUT
  1439.                 TIE TO COMMON - 20 02 - X AXIS STEP PULSE OUTPUT
  1440.                 TIE TO COMMON - 19 01 - AUXILIARY RELAY "C" OUTPUT
  1441.  
  1442.  
  1443.     You still have auxiliary outputs "C" and "D" available if you need
  1444. to  have  control  relays  and  use  a  +5 volt supply for the pull up
  1445. resistors on the switch inputs.  So the  C  axis  above  hook  up  can
  1446. connect to four motors and two relays.
  1447.  
  1448.     Another  option  when  hooking  up  DANPLOT  is  to use the Z axis
  1449. direction bit to control a relay or solenoid  rather  than  a  stepper
  1450. motor.  This  option  gives you the possibility of two motors and five
  1451. relays:
  1452.  
  1453.  
  1454.                                Pin No.
  1455.  
  1456.                                 36 18
  1457.                                 35 17
  1458.                                 34 16
  1459.                 TIE TO COMMON - 33 15
  1460.               AUXILIARY INPUT - 32 14
  1461.    AUXILIARY RELAY "D" OUTPUT - 31 13 - Z AXIS HOME SWITCH INPUT
  1462.                 TIE TO COMMON - 30 12 - Y AXIS HOME SWITCH INPUT
  1463.                 TIE TO COMMON - 29 11 - X AXIS HOME SWITCH INPUT
  1464.                 TIE TO COMMON - 28 10 - LIMIT & PAUSE SWITCH INPUT
  1465.                 TIE TO COMMON - 27 09 - AUXILIARY RELAY "B" OUTPUT
  1466.                 TIE TO COMMON - 26 08 - Z AXIS RELAY OUTPUT
  1467.                 TIE TO COMMON - 25 07 - Y AXIS DIRECTION OUTPUT
  1468.                 TIE TO COMMON - 24 06 - X AXIS DIRECTION OUTPUT
  1469.                 TIE TO COMMON - 23 05 - AUXILIARY RELAY "A" OUTPUT
  1470.                 TIE TO COMMON - 22 04
  1471.                 TIE TO COMMON - 21 03 - Y AXIS STEP PULSE OUTPUT
  1472.                 TIE TO COMMON - 20 02 - X AXIS STEP PULSE OUTPUT
  1473.                 TIE TO COMMON - 19 01 - AUXILIARY RELAY "C" OUTPUT
  1474.  
  1475.                                   [25]     
  1476.  
  1477. [                 H O O K   U P   C O N E C T I O N S                ]   
  1478.  
  1479.  
  1480.  
  1481.  
  1482.     When using a relay on the Z axis you need to set the default state
  1483. for the Z axis direction bit and the rotation of the Z axis motion  so
  1484. that the relay is off before the tool path starts and is automatically
  1485. set off when the tool path ends, by using the configuration setup menu
  1486. option  number  4.  from  the DANPLOT and DANCAM main menus.  Normally
  1487. this means default to logic low and have the Z axis motion -10 to -200
  1488. steps.  The pulse width factor for the Z axis can be used  to  control
  1489. the  delay after the Z direction bit changes before the X and Y motors
  1490. start to turn (to allow for the time the Z axis relay/device takes  to
  1491. respond.)
  1492.  
  1493.     You  can  of course use the C axis motor and a Z axis relay if you
  1494. want to (three relays and three motors.) You can  omit  the  home  and
  1495. limit switches if you wish,  since both DANCAM and DANPLOT can operate
  1496. without the switches connected.  The minimum hook up would be:
  1497.  
  1498.  
  1499.                                Pin No.
  1500.  
  1501.                                 36 18
  1502.                                 35 17
  1503.                                 34 16
  1504.                 TIE TO COMMON - 33 15
  1505.                                 32 14
  1506.                                 31 13
  1507.                 TIE TO COMMON - 30 12
  1508.                 TIE TO COMMON - 29 11
  1509.                 TIE TO COMMON - 28 10 - TIE TO COMMON
  1510.                 TIE TO COMMON - 27 09
  1511.                 TIE TO COMMON - 26 08 - Z AXIS DIRECTION OUTPUT
  1512.                 TIE TO COMMON - 25 07 - Y AXIS DIRECTION OUTPUT
  1513.                 TIE TO COMMON - 24 06 - X AXIS DIRECTION OUTPUT
  1514.                 TIE TO COMMON - 23 05
  1515.                 TIE TO COMMON - 22 04 - Z AXIS STEP PULSE OUTPUT
  1516.                 TIE TO COMMON - 21 03 - Y AXIS STEP PULSE OUTPUT
  1517.                 TIE TO COMMON - 20 02 - X AXIS STEP PULSE OUTPUT
  1518.                 TIE TO COMMON - 19 01
  1519.  
  1520.  
  1521.    If you wish to connect directly to the pins on your  parallel  port
  1522. card  25  pin  connector rather than use the printer end of a parallel
  1523. port cable the connections are:
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.                                   [26]     
  1535.  
  1536. [                 H O O K   U P   C O N E C T I O N S                ]   
  1537.  
  1538.  
  1539.  
  1540.                                Pin No.
  1541.  
  1542.                                    13 - Z AXIS HOME SWITCH INPUT
  1543.                 TIE TO COMMON - 25
  1544.                                    12 - Y AXIS HOME SWITCH INPUT
  1545.                 TIE TO COMMON - 24
  1546.                                    11 - X AXIS HOME SWITCH INPUT
  1547.                 TIE TO COMMON - 23
  1548.                                    10 - LIMIT & PAUSE SWITCH INPUT
  1549.                 TIE TO COMMON - 22
  1550.                                    09 - AUXILIARY RELAY "B" OUTPUT
  1551.                 TIE TO COMMON - 21
  1552.                                    08 - Z AXIS DIRECTION OUTPUT
  1553.                 TIE TO COMMON - 20
  1554.                                    07 - Y AXIS DIRECTION OUTPUT
  1555.                 TIE TO COMMON - 19
  1556.                                    06 - X AXIS DIRECTION OUTPUT
  1557.                 TIE TO COMMON - 18
  1558.                                    05 - AUXILIARY RELAY "A" OUTPUT
  1559.                 TIE TO COMMON - 17
  1560.                                    04 - Z AXIS STEP PULSE OUTPUT
  1561.    AUXILIARY RELAY "D" OUTPUT - 16
  1562.                                    03 - Y AXIS STEP PULSE OUTPUT
  1563.               AUXILIARY INPUT - 15
  1564.                                    02 - X AXIS STEP PULSE OUTPUT
  1565.                                 14
  1566.                                    01 - AUXILIARY RELAY "C" OUTPUT
  1567.  
  1568.  
  1569.     You can of course adjust connections on the 25  pin  connector  to
  1570. correspond to any of the alternate hook-ups, e.g.  use auxiliary input
  1571. on pin 15 for the C axis home switch,  and or use the auxiliary  relay
  1572. "D"  output on pin 16 to pull up pin 10.  As you have probably noticed
  1573. pins 1 through 13 have the same connections on both the parallel  port
  1574. 25 pin connector and the 36 pin parallel printer cable connector.
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.                                   [27]     
  1594.  
  1595. [            C O N F I G U R E   A N D   I N S T A L L               ]   
  1596.  
  1597.  
  1598.  
  1599.                          CONFIGURE AND INSTALL
  1600.  
  1601.     DANCAM  and  DANPLOT send messages to the motor translator modules
  1602. in the form of what are called "steps".  The motor shaft  rotation  is
  1603. divided into fractions, usually 1.8 degrees per step, or 200 steps per
  1604. 360  degrees (360/200=1.8).  Sometimes motors are run "half step" mode
  1605. where the step is divided in half,  e.g.  400 per  revolution  of  the
  1606. motor  shaft.  Micro  stepping  divides  the  motor  step into smaller
  1607. parts,  but does not usually offer higher actual possitional  accuracy
  1608. under  fluctuating loads since the motor shaft of a stepper motor will
  1609. typically exhibit 0.9 degrees of possitional error when  driven  under
  1610. full  load  from clockwise,  and then counter-clockwise rotation.  For
  1611. servo motors the shaft encoder defines the minimum rotational interval
  1612. or "step."
  1613.  
  1614.     Note that the unit name inches is given in the configuration menus
  1615. in DANCAM and DANPLOT even though any units can be used so long as all
  1616. of the set up is done in the same units of measurement.  This was done
  1617. to avoid the confusion some users have about the meaning of  the  word
  1618. units.  You  will  also  have to set the overall scaling factor in the
  1619. configuration menu of DANCAM  and  DANPLOT  to  relate  to  the  units
  1620. scaling  factor used while drawing the tool path in DANCAD3D.  If this
  1621. gets confusing,  just set the global scale  in  DANCAD3D  at  240  and
  1622. configure  DANCAM and DANPLOT in steps per inch,  and set the DANCAM -
  1623. DANPLOT overall scaling factor to  1  (then  one  unit  in  DANCAD3D's
  1624. drawing  editor  will  move  the  tool  one  inch (this is the default
  1625. configuration.))
  1626.  
  1627.     So since the motor shaft has finite positions that it can stop at,
  1628. the driven load will also have finite positions it can stop  at.  When
  1629. working  out  the  ratio  of the timing belt pulleys for the motor and
  1630. lead screw you should figure that one motor step should move the work-
  1631. piece relative to the tool by one half the smallest amount  necessary.
  1632. If  you  are  machining  to  0.001 of an inch and have a 10 pitch lead
  1633. screw then 1:1 coupling of the stepper  motor  will  give  you  0.0005
  1634. inches of movement per motor step, i.e.:
  1635.  
  1636.  
  1637.  200 steps per revolution
  1638.  --------------------------  =  2000 steps/inch  =  0.0005 inches/step
  1639.  0.1 inch per revolution
  1640.  
  1641.  
  1642.     Successfully  installing  DANCAM  or  DANPLOT  requires having the
  1643. motors  installed  to  give  the  coarsest  resolution  that  will  be
  1644. acceptable.  Excessively  fine resolution will limit the maximum speed
  1645. the tool can move (because the steps per second is constant.) Reducing
  1646. the resolution will increase the maximum speed the  tool  can  travel.
  1647. In  our example we can calculate the maximum tool feed speed in inches
  1648. per minute from the motor RPM, since with 1:1 drive the tool will move
  1649. 0.1 inch per revolution, and 120 RPM would be a reliable maximum speed
  1650. for the motor shaft.
  1651.  
  1652.                                   [28]     
  1653.  
  1654. [            C O N F I G U R E   A N D   I N S T A L L               ]   
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  120 revolutions per minute
  1660.  --------------------------  =  12 inches per minute
  1661.   10 revolutions per inch
  1662.  
  1663.  
  1664.     Feed rates for other resolutions can be worked out for  the  motor
  1665. shaft speed of 120 RPM and 1:1 shaft coupling:
  1666.  
  1667.  
  1668.     LEAD SCREW    FEED/REV   STEPS/INCH   INCH/STEP   INCHES/MINUTE
  1669.  
  1670.       2.5 tpi       0.4"         500        .002           48
  1671.       5.0 tpi       0.2"        1000        .001           24
  1672.      10.0 tpi       0.1"        2000        .0005          12
  1673.      20.0 tpi       0.05"       4000        .00025          6
  1674.  
  1675.  
  1676.     Since  the torque of stepper motors falls off the faster the motor
  1677. turns you may only be able to get reliable operation at speeds  slower
  1678. than  60 RPM.  In general doubling the voltage used to drive a stepper
  1679. motor will increase the top speed by 50%,  i.e.  if a motor works well
  1680. at  60  RPM  at  24  volts  you  can  probably  get it up to 90 RPM by
  1681. increasing the voltage to  48  volts.  The  top  voltage  for  stepper
  1682. motors is about five times the rated voltage,  you will of course need
  1683. to limit the current to the rated current to  avoid  burning  out  the
  1684. motor (in the simplest scheme a series power resistor is used to limit
  1685. the  current  flowing  through the motor winding when the motor is not
  1686. turning to the rated current,  because the motor is an inductive  load
  1687. the  resistor  will allow the voltage to rise briefly at the beginning
  1688. of each motor step before the voltage drops back to the static  level,
  1689. thereby making the motor turn faster.)
  1690.  
  1691.     When  building  a  plotter you can drive the pen holder by using a
  1692. timing belt driven directly by a pulley.  Small motors  can  generally
  1693. run at 240 RPM in half step mode to give 1600 (half) steps per second.
  1694.  
  1695.  
  1696.  PULLEY DIAMETER    FEED/REV   STEPS/INCH   INCH/STEP   INCHES/SECOND
  1697.  
  1698.       0.25"         0.785"      509.55      0.00196"     3.14159"
  1699.       0.50"         1.570"      254.65      0.00392"     6.28318"
  1700.       0.75"         2.356"      169.76      0.00589"     9.42477"
  1701.       0.10"         3.141"      127.32      0.00785"    12.56636"
  1702.  
  1703.  
  1704.     When  selecting  stepper motors to drive your equipment you should
  1705. use motors that have a rated holding torque AT LEAST  FOUR  TIMES  the
  1706. torque  that  will be required under load and at full speed.  Also use
  1707. the motor testing utilities built into DANCAM and DANPLOT  to  do  the
  1708. start  and  stop test to make sure that the spacing of the pulses sent
  1709. to the motor translator module are far enough apart  (a  larger  pulse
  1710.  
  1711.                                   [29]     
  1712.  
  1713. [            C O N F I G U R E   A N D   I N S T A L L               ]   
  1714.  
  1715.  
  1716. width  factor will space the pulses wider apart) for the motor to keep
  1717. up with the step pulses (if the pulses are to fast the motor will  not
  1718. come  back  to the point it was at at the beginning of the motor test,
  1719. indicating unreliable operation.) The ramping should be set to 0  when
  1720. testing stepper motors.
  1721.  
  1722.     I would like to warn you that stepper motor manufactures published
  1723. speed v.s. torque curves can be very optimistic, and are not generally
  1724. applicable to use with DANCAM or DANPLOT.  As a rule of thumb based of
  1725. my  experience  you can expect these values for maximum top speeds for
  1726. reliable error free operation under working load,  with the higher RPM
  1727. number being obtained by using the maximum voltage the motors can take
  1728. (when  the  voltage  is  more than six times the rated voltage stepper
  1729. motors may become unstable in the middle of the motors speed range, so
  1730. you are limited in how much the motors can be boosted):
  1731.  
  1732.  
  1733.            MOTOR HOLDING TORQUE      MAXIMUM MOTOR SHAFT SPEED
  1734.  
  1735.               20 -   40 in/oz              240 - 300 RPM
  1736.               40 -  150 in/oz              120 - 240 RPM
  1737.              150 -  400 in/oz               90 - 120 RPM
  1738.              400 - 1500 in/oz               30 -  90 RPM
  1739.  
  1740.  
  1741.     To configure DANPLOT and DANCAM to produce the  proper  number  of
  1742. steps  per  inch  of  travel simply run DANCAM or DANPLOT from DOS and
  1743. select mode #4 from the main menu that comes up.  Since stepper motors
  1744. typically can only step 300 to 1000 full steps per second (600 to 2000
  1745. half steps) the motor step delay of 0.5 ms to 3 ms is needed  to  keep
  1746. the  motors  working properly.  The minimum motor single step delay is
  1747. controlled a value called the pulse width factor (p.w.f.).  Each  axis
  1748. has  its  own  p.w.f  so  the  motors  can  run  as  fast  as possible
  1749. (allowable) when the maximum feed rate is requested.
  1750.  
  1751.     When you install DANCAM and DANPLOT using their main  menu  option
  1752. #4,  be sure to work through the sub-menu options in order 1,2,  (sub-
  1753. menu of 2 options 1,2,3 for each axis) and then 3,4, and 5.
  1754.  
  1755.     When you work through the menus keep in mind the number  of  steps
  1756. the motor shaft makes per revolution.  If you run a motor in half step
  1757. mode then multiply the number of motor steps by two.  For servo motors
  1758. the  number  of  steps  per revolution can be derived from the encoder
  1759. counts per revolution and any pulse rate multiplier used.
  1760.  
  1761.     In the motor test sub-menu (#2  in  the  configuration  menu)  use
  1762. option  #1  to  find  the  smallest  p.w.f.  that  makes the motor run
  1763. smoothly under load,  use #2 (of #2 of #4) to check that the motor  is
  1764. not missing any steps (make the p.w.f.  larger if the motor is missing
  1765. steps and test again),  and use #3 (of #2 of #4) to test  the  RPM  if
  1766. needed.  When the p.w.f. has been configured for each axis press [Esc]
  1767. to  go  back  to  the  installation  sub-menu  and  answer  the  other
  1768. questions.  The ramping should be set to 0 for testing stepper motors.
  1769.  
  1770.                                   [30]     
  1771.  
  1772. [            C O N F I G U R E   A N D   I N S T A L L               ]   
  1773.  
  1774.  
  1775.  
  1776.     The questions in option #3 in the installation sub-menu should  be
  1777. used  to  install  the  scaling factors before you enter the feed rate
  1778. controlling delays with option #4.  In this  version  of  DANPLOT  and
  1779. DANCAM  the  feed  rate  is controlled by a delay between motor steps.
  1780. Since the p.w.f. keeps each motor working properly the feed rate delay
  1781. can vary from 0 to 65000000 micro seconds per step  depending  on  how
  1782. slow you want the feed.  To get different feeds,  enter the delays you
  1783. want in the feed rate table,  then make the  tool  path  drawing  with
  1784. DANCAD3D  so  that  the  line  segments  have the color attribute that
  1785. corresponds to the delay  set  in  the  feed  table.  The  line  color
  1786. attribute  is  set  while drawing in DANCAD3D v2.5 by pressing the [L]
  1787. key of the keyboard or by using the mouse to click on the with  [L]ine
  1788. style  option  of  the  [L]ines  sub-menu from the drawing editor root
  1789. menu.  Any step delay value can be assigned to any line color  number.
  1790. Set  all  the  delays  to  0  if  you want the tool to move as fast as
  1791. possible for all motion.
  1792.  
  1793.     Another configuration menu  option  lets  you  assign  which  line
  1794. colors  will  turn  on  or  off  the  auxiliary  control relays.  Line
  1795. segments used to control the auxiliary relays can  have  starting  and
  1796. ending points at the same location (i.e. zero length.)
  1797.  
  1798.     Option  #5  of  the  installation  sub-menu  asks  about  the home
  1799. switches.  Both DANPLOT and DANCAM let you install  home  switches  on
  1800. your  equipment  so  that  you can have the tool automatically home up
  1801. before  each  tool  path  file  is  read.   The  ability  to  home  up
  1802. automatically can be a great time saver.  You should note that without
  1803. the use of the switches to home up, an error of +/- 3 full motor steps
  1804. can occur when DANPLOT and DANCAM are first run since the motor rotors
  1805. will  jump  to the position dictated by the mechanical relationship of
  1806. the motor rotor and the state of the motor winding sequence  that  the
  1807. motor  controller  starts  with.  Most stepper motor controllers start
  1808. with the same coil (phase) energizition pattern, so you can loosen the
  1809. motor coupling,  reboot your computer,  re-run DANPLOT or  DANCAM  and
  1810. tighten  the  motor  coupling  with  the  tool  carrier  at  it's home
  1811. position.  Lousing,  rebooting the computer,  and tightening the motor
  1812. coupling  will  not  help  if  the motor controller initializes with a
  1813. random energizition of the motor windings,  in such a case  you  would
  1814. have  to  use the home switches or manually check to see if the motors
  1815. shafts have an incorrect position and use main menu option #3  to  get
  1816. the motor shafts into the proper starting orientation.
  1817.  
  1818.     DANPLOT  has some additional special configurations.  The "C" axis
  1819. lets you mount a fourth motor with its shaft parallel to and  centered
  1820. on  the  Z axis such that a knife,  saw,  or broach will automatically
  1821. rotate to point the cutting  edge  into  the  motion  of  travel.  The
  1822. tolerance  on  the  C  axis  lets the tool stay down while cutting out
  1823. curves.  The manual up and down option lets you manually activate  the
  1824. Z  axis for use in automating a drill press with two motors (one for X
  1825. axis and one for Y axis.) In manual up/down  mode  the  work-piece  is
  1826. positioned  and then the computer is made to pause while you drill the
  1827. hole,  then you press a key on the keyboard and  the  work-piece  will
  1828.  
  1829.                                   [31]     
  1830.  
  1831. [            C O N F I G U R E   A N D   I N S T A L L               ]   
  1832.  
  1833.  
  1834. move to the next position, and so on.
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.                                   [32]     
  1889.  
  1890. [          D R A W I N G   T O O L   P A T H   F I L E S             ]   
  1891.  
  1892.  
  1893.  
  1894.            DRAWING TOOL PATHS WITH CUTTER TOOL COMPENSATION
  1895.  
  1896.     The  following  are the steps required to draw a tool path element
  1897. while being able to visually see  the  shape  of  the  cutter  on  the
  1898. computer  screen.  Please  read  the file DANCAD3D.DOC on the DANCAD3D
  1899. v2.5 program disks and read the menus in the DANCAD3D program  drawing
  1900. editor to learn more about what these steps mean.
  1901.  
  1902. NOTE:  You will need DANCAD3D v2.5H or later to draw cutter paths with
  1903.        compensation for the cutter shape.
  1904.  
  1905. 1.  Run the DANCAD3D program.  Press [Return] until you reach its main
  1906.     menu.
  1907.  
  1908. 2.  Select  [D]raw  from  the  DANCAD3D main menu.  Select the [F]ront
  1909.     view.  If the drawing workspace is not empty  select  [I]nitialize
  1910.     to clear the workspace.
  1911.  
  1912. 3.  Select  [D]raw from the drawing editor root menu.  Draw an outline
  1913.     of the shape of the finished work-piece you wish to make.  You can
  1914.     make  the inside corners sharp if the radius will be determined by
  1915.     the cutter shape.  You can make the shape outline in 3D if you are
  1916.     going to do 3D work.  Remember that lathes are 2 axis devices,  so
  1917.     the  tool path for the lathe will be 2D (i.e.  a profile.) You can
  1918.     include an outline of the raw  material  in  the  outline  of  the
  1919.     finished  piece to make visualization of the amount of material to
  1920.     remove easier.  The outline of the work-piece can include outlines
  1921.     of holding fixtures and other machine parts so that you can  check
  1922.     for interference with the cutter.
  1923.  
  1924. 4.  The next step is to make an outline for the cutting tool.  If  you
  1925.     are  going  to  use  an end mill you can use the [P]olygon command
  1926.     (try to keep the sides total to 36  or  less)  in  the  2D  shapes
  1927.     drawing  editor  sub-menu.  For  other  shape cutters press [B] to
  1928.     begin a new element (element  2)  and  draw  the  outline  of  the
  1929.     cutter.  The center of the cutter outline element should be on the
  1930.     cutter's  axis  of  rotation  if  the  cutter rotates.  The cutter
  1931.     outline can be 3D and include the tool holder or tool post so that
  1932.     you can visually check for interference  with  the  work-piece  or
  1933.     other parts of the machine.
  1934.  
  1935. 5.  To  draw the actual tool path element go into the drawing editor's
  1936.     [E]lements  sub-menu  and  select  [D]rag.  Select [E]nter element
  1937.     number and  enter  the  element  number  for  the  cutter  outline
  1938.     (element  2.)  Select  the  element center as the reference point.
  1939.     Press [Return] to start the drag command.  The cutter outline will
  1940.     blink.  Press [B]egin element to begin the tool path element  (the
  1941.     tool  path  will  be element number 3.) Move the cutter outline to
  1942.     the home position with the [G]oto drawing command.  Use the  mouse
  1943.     to  position the cutter outline near the edge of the raw material.
  1944.     Press the left mouse button to draw the first line segment in  the
  1945.     tool path.  Move the mouse for the path of the first cut and press
  1946.  
  1947.                                   [33]     
  1948.  
  1949. [          D R A W I N G   T O O L   P A T H   F I L E S             ]   
  1950.  
  1951.  
  1952.     the   left   mouse   button   again.   Continue  drawing  zig-zag,
  1953.     concentric,  or spiral tool path until the blinking outline of the
  1954.     cutter comes in contact with the outline of the final shape.  When
  1955.     drawing  tool paths be sure that you only feed the amount that can
  1956.     be safely taken off (so the tool will not stall  or  break!)  Also
  1957.     remember that some cutters can only cut going one way,  so you may
  1958.     have to retrace  without  feed  when  drawing  in  one  direction.
  1959.     Pressing  [L]  while inside the [D]rag command will let you change
  1960.     the drawing line color, and therefore set the feed rate, auxiliary
  1961.     relays, and programed pause.
  1962.  
  1963. 6.  When  the  tool path is finished press [Escape] to exit the [D]rag
  1964.     command.  [Q]uit the drawing  editor  and  select  [F]iles  [S]ave
  1965.     [A]SCII  from  the  main  menu.  Enter  the element number for the
  1966.     element of the tool path (normally element 3) as  the  element  to
  1967.     save.
  1968.  
  1969. 7.  Make a trial part using DANPLOT or DANCAM.
  1970.  
  1971. 8.  Measure the trial part.  Record any error in the final shape.
  1972.  
  1973. 9.  Load  the  tool  path ASCII file into DANCAD3D and use the [P]ull-
  1974.     Point  command  in  the  [L]ines sub-menu of the drawing editor to
  1975.     alter the tool path line segments for the final cut,  in order  to
  1976.     correct  the error.  Save the corrected tool path element again as
  1977.     an ASCII file.
  1978.  
  1979. 10. Repeat  steps  7  to  9  if  needed  until the finished part is in
  1980.     tolerance.  Make the run of parts as needed.  Store the ASCII tool
  1981.     path file on a floppy disk for future use.  You should  also  copy
  1982.     the  DANPLOT.CFG or DANCAM.CFG file used to make the part onto the
  1983.     floppy with the tool path so the tool path will match up  if  used
  1984.     again.  You  should  also  file  notes about the spindle speed and
  1985.     cutter seating used and also the location of  the  limit  switches
  1986.     relative to the work-piece.
  1987.  
  1988.     If you want to change the line color attribute for any of the line
  1989. segments  in  the tool path such as the line segment for the final cut
  1990. you can use the commands in DANCAD3D's  drawing  editor  [L]ines  sub-
  1991. menu.  The  conversion  of  the line color attributes in the tool path
  1992. data file to feed rates is done using the values for  the  step  delay
  1993. that  you  have  entered  into  the DANPLOT and DANCAM feed rate table
  1994. (option #4 in the DANPLOT and DANCAM installation sub-menu.)
  1995.  
  1996.     You can also draw the bulk of the tool path in the drawing  editor
  1997. [D]raw  lines  sub-menu  and  then  go  into the [D]rag command in the
  1998. [E]lements sub-menu to align the cutter outline  to  the  final  shape
  1999. outline  for  the  last few cuts.  If you want to add line segments to
  2000. the tool path element that you started in the  [D]raw  lines  sub-menu
  2001. use  the  [D]rag  command  as  described  above in step 5.  but select
  2002. command [E]lastic line in place of [B]egin element.
  2003.  
  2004.     When you need to use commands that create new elements such as the
  2005.  
  2006.                                   [34]     
  2007.  
  2008. [          D R A W I N G   T O O L   P A T H   F I L E S             ]   
  2009.  
  2010.  
  2011. [P]olygon command,  or the [F]it-curve in DANCAD3D's,  you  can  unite
  2012. later  the  elements  created  into a single ASCII file by erasing the
  2013. finished part outline,  and the tool outline from the workspace,  then
  2014. use  element  0  as  the element to save rather than element number 3.
  2015. The [J]oin command in DANCAD3D's drawing editors [E]lements  menu  can
  2016. also be used to unite elements into a single tool path element.
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.                                   [35]     
  2066.  
  2067. [      R U N N I N G   T H E   C  A  M   D E M O   F I L E S         ]   
  2068.  
  2069.  
  2070.  
  2071.              RUNNING THE DEMO FILES FOR DANPLOT AND DANCAM
  2072.  
  2073.     A  demo is provided for each program.  Enter DEMOPLOT.BAT from DOS
  2074. with the prompt indicating the drive and  directory  all  the  DANPLOT
  2075. files are in.  DEMOCAM.BAT does the same for DANCAM.
  2076.  
  2077. EXAMPLE: C>DANPLOT DANPLOT.ASC 1
  2078.  
  2079.     You can interrupt the motion of the motors momentarily by pressing
  2080. the  [P]  key,  press [P] or [SpaceBar] to restart the motors.  If you
  2081. need to touch or otherwise expose yourself to the equipment while  the
  2082. motors  are  paused  from  the  keyboard you should also use the pause
  2083. switch wired in series with the limit switches (as  shown  on  drawing
  2084. HOOKUP1.ASC)  and  turn off the motor power (if your translator module
  2085. will re-initialize when the motor power is cut off  you  will  have  a
  2086. problem  (because  the motors may jump when the power is switched back
  2087. on), the circuit schmatics I provide with the DANCAD3D user outfit for
  2088. the stepper motor  translator  allow  the  translator  logic  to  stay
  2089. powered  while  the  motor  coil  (phase)  power is switched on or off
  2090. thereby avoiding any motor jumping.)
  2091.  
  2092.     You can load the example *.ASC tool path files  into  DANCAD3D  to
  2093. look  at  how they were drawn.  DANCAD3D's main menu [P]review command
  2094. will let you rotate the display of the tool path's  line  segments  so
  2095. you can see the spatial relationships.
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.                                   [36]     
  2125.  
  2126. [      H E L P   W I T H   D A N C A M   A N D   D A N P L O T       ]   
  2127.  
  2128.  
  2129.  
  2130.                            HELP AND FEEDBACK
  2131.  
  2132.     If you have any questions or comments about DANCAM or DANPLOT feel
  2133. free to write me at:
  2134.  
  2135. ADDRESS: DAN HUDGINS
  2136.          c/o DANCAD3D CNC
  2137.          466 DIAMOND STREET
  2138.          SAN FRANCISCO, CA  94114
  2139.          The UNITED STATES of AMERICA
  2140.  
  2141.     When you write PLEASE enclose some stamps for the replay  postage.
  2142. If  you  live  outside  the U.S.  you can get some postal vouchers for
  2143. first class international air mail postage from your post office.
  2144.  
  2145.     More information and schematics for wiring  up  inexpensive  motor
  2146. driver  modules  is  included in the DANCAD3D user outfit.  I can help
  2147. you design custom hardware special applications.
  2148.  
  2149.     If you need help in locating stepper motors,  drivers,  and  other
  2150. mechanical  and electronic components feel free to contact me for help
  2151. in locating just what you need.  I am always on the look out for parts
  2152. that are at the lowest cost.
  2153.  
  2154.     If you would like to discuss something on the phone I can call you
  2155. collect if you send me a letter telling  me  what  time  to  call  and
  2156. asking  me  to call collect (sorry but collect calls cannot be made to
  2157. Germany.) I can call on evenings or weekends if  you  prefer,  but  be
  2158. sure to tell me what days and times I should call.
  2159.  
  2160.     I  am  always  working  on  a  improvements  to  the  programs and
  2161. documentation.  If you register with me by sending one dollar and your
  2162. full name and address I will put your name on my  user  mailing  list.
  2163. If  you  are  using  DANCAM  or  DANPLOT  at all you will benefit from
  2164. communicating with me directly.  If you have a  machine  hooked  up  I
  2165. would  be  most  appreciative if you could send me a photo of what you
  2166. have built,  I always enjoy seeing  what  users  are  doing  with  the
  2167. programs.
  2168.  
  2169.     Feel  free  to  send  me  your  "wish list" for DANCAD and DANPLOT
  2170. improvements.  Although "G" codes are not needed since DANCAD3D  makes
  2171. tool  paths  graphically  I  may  write a "G" code converter if enough
  2172. users ask for me to write one.  If you are  interested  in  "G"  codes
  2173. send me a "G" code file on a floppy disk so I can see the type of file
  2174. you need.
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.                                   [37]     
  2184.